import com.alibaba.fastjson.JSON;

import java.util.Date;

public class Main {
    public static void main(String[] args) {
        System.out.println("-----");
        System.out.println("--------");
        User user=new User(11,"张三","22",new Date());
        String s = JSON.toJSONString(user);
        System.out.println(s);
    }
}
